package indi.zhifa.engine.bailan6.common.web.entity.request;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class BasePageRequest extends BaseRequest{
    @NotNull(message = "分页参数当前页current不可以为空，记得从1开始哦")
    @Schema(title = "当前页",description = "当前页，1开始")
    Integer current;
    @NotNull(message = "分页参数页大小size不可以为空，-1则表示不分页")
    @Schema(title = "页大小",description = "页大小，-1为不分页")
    Integer size;
}
